package com.baizhi.entity;

import java.io.Serializable;

public class Student implements Serializable {
    private Integer id;
    private String sname;
    private Integer age;
    private String oldfilename;
    private String newfilename;
    private Integer downcount;

    public Student() {
    }

    public Student(Integer id, String sname, Integer age, String oldfilename, String newfilename, Integer downcount) {
        this.id = id;
        this.sname = sname;
        this.age = age;
        this.oldfilename = oldfilename;
        this.newfilename = newfilename;
        this.downcount = downcount;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getOldfilename() {
        return oldfilename;
    }

    public void setOldfilename(String oldfilename) {
        this.oldfilename = oldfilename;
    }

    public String getNewfilename() {
        return newfilename;
    }

    public void setNewfilename(String newfilename) {
        this.newfilename = newfilename;
    }

    public Integer getDowncount() {
        return downcount;
    }

    public void setDowncount(Integer downcount) {
        this.downcount = downcount;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", sname='" + sname + '\'' +
                ", age=" + age +
                ", oldfilename='" + oldfilename + '\'' +
                ", newfilename='" + newfilename + '\'' +
                ", downcount=" + downcount +
                '}';
    }
}
